package com.ruoyi.teacher.domain;

import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import lombok.experimental.Accessors;

/**
 * 问题对象 t_question
 *
 * @author ruoyi
 * @date 2024-12-03
 */
@Data
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = true)
public class TQuestion extends BaseEntity {

    /**
     * id
     */
    private Long id;

    /**
     * 题库ID
     */
    @Excel(name = "题库ID")
    private Long bId;

    /**
     * 章节ID
     */
    @Excel(name = "章节ID")
    private Long cpId;

    /**
     * 题目类型
     */
    @Excel(name = "题目类型")
    private String type;

    /**
     * 题目内容
     */
    @Excel(name = "题目内容")
    private String content;

    /**
     * 图片
     */
    @Excel(name = "图片")
    private String image;

    /**
     * 答案
     */
    @Excel(name = "答案")
    private String answer;

    /**
     * 答案图片
     */
    @Excel(name = "答案图片")
    private String anImg;

    /**
     * 分析
     */
    @Excel(name = "分析")
    private String analyse;

    /**
     * 分析图
     */
    @Excel(name = "分析图")
    private String anaChart;

    /**
     * 逻辑删除
     */
    @TableField(fill = FieldFill.INSERT)
    private Integer deleteStatus;

    /**
     * 备注
     */
    @Excel(name = "备注")
    private String remark;

    public Long getbId() {
        return bId;
    }

    public void setbId(Long bId) {
        this.bId = bId;
    }

    public Long getCpId() {
        return cpId;
    }

    public void setCpId(Long cpId) {
        this.cpId = cpId;
    }

}
